package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.example.dto.RoleDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper extends BaseMapper<RoleDto> {
//    查询用户id拥有的所有角色id
     public List<Integer> selectRoleIdByUserId(Integer userId);
}
